using CookComputing.XmlRpc;

namespace aprogblog.App.MetaWeblog {

    public interface BloggerAPI {
    
        [XmlRpcMethod("blogger.deletePost")]
        [return: XmlRpcReturnValue(Description = "Returns true.")]
        bool DeletePost(string Key, string Postid, string UserName, string Password, bool Publish);

        [XmlRpcMethod("blogger.getUsersBlogs")]
        BlogInfo[] GetUsersBlogs(string Key, string UserName, string Password);

        [XmlRpcMethod("blogger.getUserInfo")]
        UserInfo GetUserInfo(string Key, string UserName, string Password);
    }
}